package com.sscw.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.guaike.core.mybatis.entity.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * <p>
 * 用户街机挑战记录表
 * </p>
 *
 * @author system
 * @since 2024-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("m_record_battle_arcade_machine")
public class MRecordBattleArcadeMachinePO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * m_rank_battle_arcade_machine表id
     */
    private Long battleId;
    /**
     * 游戏id
     */
    private Long gameId;
    /**
     * app用户id
     */
    private Long userId;
    /**
     * 挑战获得松子数量
     */
    private Integer pineNut;
    /**
     * 挑战日期
     */
    private LocalDate battleDate;
    /**
     * 挑战状态（字典码：50035）
     */
    private Integer status;
    /**
     * 逻辑删除（非0:已删除, 0:未删除）
     */
    @TableLogic(value = "0", delval = "now()")
    private Long deleted;



}
